package com.lanxiao.cloud.modules.oauth.application.dto;

import com.lanxiao.cloud.common.core.dto.BaseDto;
import com.lanxiao.cloud.common.core.enums.StateEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;

/**
 * @author ：qiaoliang
 * @date ：2021-09-16
 */
@ApiModel("角色返回模型")
public class RolePageDto extends BaseDto<Long> {

  @ApiModelProperty(value = "名称")
  private final String name;
  @ApiModelProperty(value = "标识")
  private final String mark;
  @ApiModelProperty(value = "状态")
  private final StateEnum state;
  @ApiModelProperty(value = "排序")
  private final int sort;

  public RolePageDto(Long id, Date createTime, Date updateTime,
      String remark, String name, String mark, StateEnum state,
      int sort) {
    super(id, createTime, updateTime, remark);
    this.name = name;
    this.mark = mark;
    this.state = state;
    this.sort = sort;
  }

  public String getName() {
    return name;
  }

  public String getMark() {
    return mark;
  }

  public StateEnum getState() {
    return state;
  }

  public int getSort() {
    return sort;
  }
}
